package com.ynny.chapter14.service;

import com.ynny.chapter14.pojo.Student;
import org.springframework.stereotype.Service;

import java.util.List;

public interface StudentService {
    public List<Student> login(Student student);

    public List<Student> findAll();

    public int add(Student student);

    public int update(Student student);

    public int delete(Integer id);

    public List<Student> findOne(Student student);
}
